package com.tn.controller.alarm.common.model;

import com.tn.controller.alarm.common.enums.CommonCodeEnum;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Getter
@Setter
@NoArgsConstructor
public class CommonVO<T> {
    private int code = CommonCodeEnum.SUCCESS.getCode();

    private String msg = CommonCodeEnum.SUCCESS.getMessage();

    private T data;

    public CommonVO(T data) {
        super();
        this.data = data;
    }
}
